///////////////////////////////////////////////////////////////////////////////
//-----------------------------------------------------------------------------
#ifndef	__MESH_MANAGER_H__
#define	__MESH_MANAGER_H__
//-----------------------------------------------------------------------------

#include <Config.h>
#include <AbstractManager.h>
#include <string>
#include <vector>

class	MeshData;

//-----------------------------------------------------------------------------

class MeshManager
	:	public AbstractManager<MeshManager>
{
public:
							MeshManager();
							~MeshManager();

	void					ReleaseMeshes();

	void					AddMesh( MeshData* mesh );
	bool					IsMeshLoaded( std::string name );
	MeshData*				GetMesh( std::string name );

private:

	std::vector<MeshData*>	m_meshes;
};

#endif	//	__MESH_MANAGER_H__
//-----------------------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////////
